package com.cloudkinto.service.orderoutput.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import java.util.Date;
import java.util.List;

/**
 * Author Administrator
 *
 * @Des
 * @Version
 * @Date 2020/6/5
 */
@Data
@ApiModel
public class OrderOutputAddReq {
    /**
     * 1 一件代发 2 fba转运
     */
    @ApiModelProperty("订单类型")
    private Integer orderType;

    @ApiModelProperty("发货日期")
    private Date sendDate;
    @ApiModelProperty("平台")
    private String platform;

    @ApiModelProperty("平台单号")
    private String platformNumber;
    @ApiModelProperty("店铺id")
    private Long shopId;

    @ApiModelProperty("仓库id")
    private Long storageId;

    @ApiModelProperty("公司id")
    private Long companyId;

    /**
     * 顾客自定单号
     */
    @ApiModelProperty("自定义单号")
    private String orderNo;

    @ApiModelProperty("取件地址")
    private String receiverName;

    @ApiModelProperty("电话")
    private String telPhone;

    @ApiModelProperty("发货编码")
    private String postCode;

    @ApiModelProperty("地区")
    private String area;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("产品sku")
    private String sku;

    @ApiModelProperty("数量")
    @Min(value = 1)
    private Integer count;

    @ApiModelProperty("备注")
    private String tips;

    @ApiModelProperty("发货时间")
    private String deliveryDate;

    @ApiModelProperty("配送时间")
    private String deliveryTime;

    @ApiModelProperty("发货类型")
    private Integer shipmentType;

    /**
     * 代收款
     */
    @ApiModelProperty("代收款")
    private Integer cod;

    @ApiModelProperty("文件id")
    private Long fileId;

    @ApiModelProperty("运输id")
    private Long trackId;

    @ApiModelProperty("传输费用")
    private double shipFee;

    @ApiModelProperty("操作费用")
    private double operateFee;

    @ApiModelProperty("po编码")
    private String poNumber;

    @ApiModelProperty("订单号备注")
    private String orderNoTips;

    @ApiModelProperty("fba仓库id")
    private Long fbaStorageId;

    @ApiModelProperty("差价")
    private double diffPrice;

    List<OrderOutputPackageAddReq> packageList;

    private String packingSlipUrl;
}
